<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    {user_name}
    <a href="">修改资料</a>
    <a href="">我的动画</a>
    <button>在看</button>
    <button>看过</button>
    <button>想看</button>
    <button>搁置</button>
    <button>抛弃</button>

    <a href="">我的游戏</a>
    <button>在玩</button>
    <button>玩过</button>
    <button>想玩</button>
    <button>抛弃</button>

    <a href="">我的小说</a>
    <button>在读</button>
    <button>读过</button>
    <button>想读</button>
    <button>抛弃</button>

    <a href="">我的音声</a>
    <a href="">在听</a>
    <a href="">听过</a>
    <a href="">想听</a>

    <a href="">我的电影</a>
    <a href="">在看</a>
    <a href="">看过</a>
    <a href="">想看</a>
    <a href="">搁置</a>
    <a href="">抛弃</a>

    <!-- 数据统计 -->
    <div>
        <div id="chooser"></div>
        <button>全部</button>
        <button>小说</button>
        <button>动画</button>
        <button>音乐</button>
        <button>游戏</button>
        <button>电视剧</button>
        <span>收藏{shoucang}</span>
        <span>完成{wancheng}</span>
        <span>完成率{(wancheng/shoucang*100).toFixed(0.1) + "%"}</span>

    </div>
    <div>
        <span>我的朋友</span>
        <a href="">
            <img>
            <span>{user_name}</span>
        </a>
    </div>
    <div>
        <span>我的墓库</span>
    </div>
    <div>
        我收藏的人物
    </div>

<?php
$collects = get_user_collect();
echo $collects;
function get_user_collect()
{
    return json_encode(array("collect"=>array()));
}
?>
</body>
</html>
